.emi-calculator {
    padding: 20px 0;
}

/* #border{
 display: flex;
  flex-direction: column;
  align-items: center;
} */

#emi-calculation {
    width: 500px;
    height: 325px;
    border: 2px solid var(--primary-color);
    box-shadow: 2px 5px 5px gray;
    border-radius: 5px;
    background-color: #CAFAFE;
}

#title {
    padding-top: 20px;
    font-size: 30px;
    font-family: verdana;
    color: var(--primary-color);
    text-align: center;
    text-decoration: underline;
}

#emi-output {
    width: 500px;
    height: 325px;
    border: 2px solid var(--primary-color);
    box-shadow: 2px 5px 5px gray;
    border-radius: 5px;
    background-color: #CAFAFE;
}

.emi-section {
    margin-left: 10px;
    font-size: 20px;
    padding: 10px;
    font-family: verdana;
}

.result {
    margin-top: 20px;
    margin-left: 10px;
    font-size: 20px;
    padding: 5px;
    font-family: verdana;
}

.label {
    font-size: 18px;
}

.input {
    float: right;
    width: 215px;
}

#calc,
#reset {

    font-size: 20px;
    background-color: var(--primary-color);
    box-shadow: 2px 5px 5px gray;
}

.submit {
    text-align: center;
    margin-top: 20px;
}

#reset {
    background-color: orange;
}

@media screen and (max-width: 500px) {
    #border {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-left: 5px;
        margin-right: 5px;
    }

    .label,
    .result {
        font-size: 10px;
    }

    #title {
        font-size: 20px;
    }

    #emi-calculation {
        max-width: 100%;
    }

    #emi-output {
        width: 100%;
        margin-left: 5px;
        margin-right: 5px;
    }

    .section {
        font-size: 16px;
    }

    .input {
        width: 100px;
    }

    #calc,
    #reset {
        width: 100px;
    }

}